import request from './request.js'

export function getMine(e){
	return request.get("/findMy")
}	

export function postBgIMg(e){
	return request.post("/updateUserBg",{
		imgType: e.type,
		serverBase64Img: e.coding
	})
}

export function postAvatar(e){
	return request.post("/updateAvatar",{
		imgType: e.type,
		serverBase64Img: e.coding
	})
}

export function getAccountInfo(e){
	return request.get("/findAccountInfo")
}	

export function postNickName(e){
	return request.post("/updateNickName",{
		nickName:e
	})
}

export function postUpdateDesc(e){
	return request.post("/updateDesc",{
		desc:e
	})
}

export function getAllLike(e){
	return request.get("/findAllLike")
}